package ar.com.contable.ganancias.model;

/**
 * Represent an item of the strut.
 * @author E420611
 *
 */
public class ItemStrutModel {

	private String nameCode= "";
	private Boolean onlyRead = Boolean.TRUE;


	/**
	 * Constructor.
	 * @param sueldoBruto
	 * @param onlyRead 
	 */
	public ItemStrutModel(String sueldoBruto, Boolean onlyRead) {
		this.setNameCode(sueldoBruto);
		this.setOnlyRead(onlyRead);
	}

	/**
	 * @return the onlyRead
	 */
	public Boolean getOnlyRead() {
		return onlyRead;
	}

	/**
	 * @param onlyRead the onlyRead to set
	 */
	public void setOnlyRead(Boolean onlyRead) {
		this.onlyRead = onlyRead;
	}

	/**
	 * @return the nameCode
	 */
	public String getNameCode() {
		return nameCode;
	}

	/**
	 * @param nameCode the nameCode to set
	 */
	public void setNameCode(String nameCode) {
		this.nameCode = nameCode;
	}
}
